package com.easylinkin.linkappapi.powerdistribution.util;

/**
 * class info :
 *
 * @author liuqihang
 * @date 2021/9/15 12:17
 */
public class ElectricityConstant {

    /**
     * 总视在功率
     */
    public static String[] loadAnalyzeRequiredField = {"apparent_power"};

    public static String[] electricityParamsRequiredFieldAll = {"a_phase_voltage", "b_phase_voltage", "c_phase_voltage",
            "ab_phase_voltage", "bc_phase_voltage", "ac_phase_voltage",
            "a_phase_current", "b_phase_current", "c_phase_current"};
    public static String[] electricityParamsRequiredField1 = {"a_phase_voltage", "b_phase_voltage", "c_phase_voltage"};
    public static String[] electricityParamsRequiredField2 = {"ab_phase_voltage", "bc_phase_voltage", "ac_phase_voltage"};
    public static String[] electricityParamsRequiredField3 = {"a_phase_current", "b_phase_current", "c_phase_current"};

    public static String[] threePhaseUnBalanceField = {"voltage_unbalance_rate", "current_unbalance_rate"};

    /**
     * 可以用关键字匹配：phase_voltage_harmonics,但防止后面加类似非此功能的字段，稳定了再改吧
     */
    public static String[] harmonicAnalyzeField = {
            "a_phase_voltage_harmonics",
            "a_phase_voltage_harmonics_2",
            "a_phase_voltage_harmonics_3",
            "a_phase_voltage_harmonics_4",
            "a_phase_voltage_harmonics_5",
            "a_phase_voltage_harmonics_6",
            "a_phase_voltage_harmonics_7",
            "a_phase_voltage_harmonics_8",
            "a_phase_voltage_harmonics_9",
            "a_phase_voltage_harmonics_10",
            "a_phase_voltage_harmonics_11",
            "a_phase_voltage_harmonics_12",
            "a_phase_voltage_harmonics_13",
            "a_phase_voltage_harmonics_14",
            "a_phase_voltage_harmonics_15",
            "a_phase_voltage_harmonics_16",
            "a_phase_voltage_harmonics_17",
            "a_phase_voltage_harmonics_18",
            "a_phase_voltage_harmonics_19",
            "a_phase_voltage_harmonics_20",
            "a_phase_voltage_harmonics_21",
            "a_phase_voltage_harmonics_22",
            "a_phase_voltage_harmonics_23",
            "a_phase_voltage_harmonics_24",
            "a_phase_voltage_harmonics_25",
            "a_phase_voltage_harmonics_26",
            "a_phase_voltage_harmonics_27",
            "a_phase_voltage_harmonics_28",
            "a_phase_voltage_harmonics_29",
            "a_phase_voltage_harmonics_30",
            "a_phase_voltage_harmonics_31",
            "b_phase_voltage_harmonics",
            "b_phase_voltage_harmonics_2",
            "b_phase_voltage_harmonics_3",
            "b_phase_voltage_harmonics_4",
            "b_phase_voltage_harmonics_5",
            "b_phase_voltage_harmonics_6",
            "b_phase_voltage_harmonics_7",
            "b_phase_voltage_harmonics_8",
            "b_phase_voltage_harmonics_9",
            "b_phase_voltage_harmonics_10",
            "b_phase_voltage_harmonics_11",
            "b_phase_voltage_harmonics_12",
            "b_phase_voltage_harmonics_13",
            "b_phase_voltage_harmonics_14",
            "b_phase_voltage_harmonics_15",
            "b_phase_voltage_harmonics_16",
            "b_phase_voltage_harmonics_17",
            "b_phase_voltage_harmonics_18",
            "b_phase_voltage_harmonics_19",
            "b_phase_voltage_harmonics_20",
            "b_phase_voltage_harmonics_21",
            "b_phase_voltage_harmonics_22",
            "b_phase_voltage_harmonics_23",
            "b_phase_voltage_harmonics_24",
            "b_phase_voltage_harmonics_25",
            "b_phase_voltage_harmonics_26",
            "b_phase_voltage_harmonics_27",
            "b_phase_voltage_harmonics_28",
            "b_phase_voltage_harmonics_29",
            "b_phase_voltage_harmonics_30",
            "b_phase_voltage_harmonics_31",
            "c_phase_voltage_harmonics",
            "c_phase_voltage_harmonics_2",
            "c_phase_voltage_harmonics_3",
            "c_phase_voltage_harmonics_4",
            "c_phase_voltage_harmonics_5",
            "c_phase_voltage_harmonics_6",
            "c_phase_voltage_harmonics_7",
            "c_phase_voltage_harmonics_8",
            "c_phase_voltage_harmonics_9",
            "c_phase_voltage_harmonics_10",
            "c_phase_voltage_harmonics_11",
            "c_phase_voltage_harmonics_12",
            "c_phase_voltage_harmonics_13",
            "c_phase_voltage_harmonics_14",
            "c_phase_voltage_harmonics_15",
            "c_phase_voltage_harmonics_16",
            "c_phase_voltage_harmonics_17",
            "c_phase_voltage_harmonics_18",
            "c_phase_voltage_harmonics_19",
            "c_phase_voltage_harmonics_20",
            "c_phase_voltage_harmonics_21",
            "c_phase_voltage_harmonics_22",
            "c_phase_voltage_harmonics_23",
            "c_phase_voltage_harmonics_24",
            "c_phase_voltage_harmonics_25",
            "c_phase_voltage_harmonics_26",
            "c_phase_voltage_harmonics_27",
            "c_phase_voltage_harmonics_28",
            "c_phase_voltage_harmonics_29",
            "c_phase_voltage_harmonics_30",
            "c_phase_voltage_harmonics_31",
            "a_phase_current_harmonics",
            "a_phase_current_harmonics_2",
            "a_phase_current_harmonics_3",
            "a_phase_current_harmonics_4",
            "a_phase_current_harmonics_5",
            "a_phase_current_harmonics_6",
            "a_phase_current_harmonics_7",
            "a_phase_current_harmonics_8",
            "a_phase_current_harmonics_9",
            "a_phase_current_harmonics_10",
            "a_phase_current_harmonics_11",
            "a_phase_current_harmonics_12",
            "a_phase_current_harmonics_13",
            "a_phase_current_harmonics_14",
            "a_phase_current_harmonics_15",
            "a_phase_current_harmonics_16",
            "a_phase_current_harmonics_17",
            "a_phase_current_harmonics_18",
            "a_phase_current_harmonics_19",
            "a_phase_current_harmonics_20",
            "a_phase_current_harmonics_21",
            "a_phase_current_harmonics_22",
            "a_phase_current_harmonics_23",
            "a_phase_current_harmonics_24",
            "a_phase_current_harmonics_25",
            "a_phase_current_harmonics_26",
            "a_phase_current_harmonics_27",
            "a_phase_current_harmonics_28",
            "a_phase_current_harmonics_29",
            "a_phase_current_harmonics_30",
            "a_phase_current_harmonics_31",
            "b_phase_current_harmonics",
            "b_phase_current_harmonics_2",
            "b_phase_current_harmonics_3",
            "b_phase_current_harmonics_4",
            "b_phase_current_harmonics_5",
            "b_phase_current_harmonics_6",
            "b_phase_current_harmonics_7",
            "b_phase_current_harmonics_8",
            "b_phase_current_harmonics_9",
            "b_phase_current_harmonics_10",
            "b_phase_current_harmonics_11",
            "b_phase_current_harmonics_12",
            "b_phase_current_harmonics_13",
            "b_phase_current_harmonics_14",
            "b_phase_current_harmonics_15",
            "b_phase_current_harmonics_16",
            "b_phase_current_harmonics_17",
            "b_phase_current_harmonics_18",
            "b_phase_current_harmonics_19",
            "b_phase_current_harmonics_20",
            "b_phase_current_harmonics_21",
            "b_phase_current_harmonics_22",
            "b_phase_current_harmonics_23",
            "b_phase_current_harmonics_24",
            "b_phase_current_harmonics_25",
            "b_phase_current_harmonics_26",
            "b_phase_current_harmonics_27",
            "b_phase_current_harmonics_28",
            "b_phase_current_harmonics_29",
            "b_phase_current_harmonics_30",
            "b_phase_current_harmonics_31",
            "c_phase_current_harmonics",
            "c_phase_current_harmonics_2",
            "c_phase_current_harmonics_3",
            "c_phase_current_harmonics_4",
            "c_phase_current_harmonics_5",
            "c_phase_current_harmonics_6",
            "c_phase_current_harmonics_7",
            "c_phase_current_harmonics_8",
            "c_phase_current_harmonics_9",
            "c_phase_current_harmonics_10",
            "c_phase_current_harmonics_11",
            "c_phase_current_harmonics_12",
            "c_phase_current_harmonics_13",
            "c_phase_current_harmonics_14",
            "c_phase_current_harmonics_15",
            "c_phase_current_harmonics_16",
            "c_phase_current_harmonics_17",
            "c_phase_current_harmonics_18",
            "c_phase_current_harmonics_19",
            "c_phase_current_harmonics_20",
            "c_phase_current_harmonics_21",
            "c_phase_current_harmonics_22",
            "c_phase_current_harmonics_23",
            "c_phase_current_harmonics_24",
            "c_phase_current_harmonics_25",
            "c_phase_current_harmonics_26",
            "c_phase_current_harmonics_27",
            "c_phase_current_harmonics_28",
            "c_phase_current_harmonics_29",
            "c_phase_current_harmonics_30",
            "c_phase_current_harmonics_31"
    };

    public static String[] positiveactiveenergy = {"positive_active_energy"};

    public static String[] loadIndex={"a_phase_voltage", "b_phase_voltage", "c_phase_voltage","a_phase_current", "b_phase_current", "c_phase_current"};
}
